// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  ssr: false,  
  devtools: { enabled: true },
  css: ["~/assets/app.css"],
  // 添加 nitro 配置
  runtimeConfig:{
    public:{
      apiBase: process.env.NUXT_PUBLIC_API_BASE,
      authingBaseUrl: process.env.NUXT_PUBLIC_AUTHING_BASE_URL
    }
  },
  postcss: { 
    plugins: { 
      tailwindcss: {}, 
      autoprefixer: {}, 
    },
  },
  compatibilityDate: "2025-03-19",
})